<!-- This view is the leftnaigation, which have a search field at top, to find users-->


<?php echo heading('Welcome ' .$this->session->userdata('firstname'),3);?>
	<?php
	echo form_open('socialbuddy/search');
	$input = array('name' => 'searchterm', 'id' => 'searchterm', 'size'=> 15,'style' => 'width:165px');
	echo form_input($input);
	echo form_submit('search','search');
	echo form_close();
	?>
<style type="text/css">
ul { list-style-image: url("/images/test.jpeg") }
</style>

<br/>
<ul>
<li><?php echo anchor("users/home/".$this->session->userdata('id'), 'view profile');?></li>
<br/>
<li><?php echo anchor("socialbuddy/edit_my_profile",'edit profile');?></li>
<br/>
<li><?php echo anchor("users/friends","my friends");?></li>
<br/>
<li><?php echo anchor("messages/compose","send message");?></li>
<br/>
<li><?php echo anchor("bookmarks/index","my bookmarks");?></li>
<br/>
<li><?php echo anchor("messages/index","my messages");?></li>
<br/>
<li><?php echo anchor("interests/index","my interests");?></li>
<br/>
<li><?php echo anchor("login/logout",'logout');?></li>

</ul>